import WebSocket from 'ws'
// import http from 'http'

export enum CommunicationChannelKeys {
    Main = 'main'
}

export interface CustomWebSocket extends WebSocket.WebSocket {
    user: {
        uid: string;
    }
}

export type RouteCallback = (ws: WebSocket, data: Record<string, any>) => void

export type WsUrl = '/test1'
